package com.csii.ams.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.csii.adhoc.info.user.UserVo;
import com.csii.ams.BusiDef;
import com.csii.ams.SearchBean;
import com.csii.result.PageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BusiDefMapper  {
    IPage<UserVo> searchUserByOrgId(@Param("vo") SearchBean searchBean, Page<UserVo> page);

    int deleteByPrimaryKey(String busiCd);

    int insertBusiDef(BusiDef record);

    BusiDef selectByPrimaryKey(String busiCd);

    int updateBusiDef(BusiDef record);

    void insertListBusiArch(BusiDef record);

    void deleteBusiArch(String busiCd);

    IPage<BusiDef> queryPageBusiDef(@Param("vo") BusiDef busiDef, Page<BusiDef> page);

    List<BusiDef> queryListBusiDef(BusiDef busiDef);

    void submitReview(BusiDef busiDef);

    void updateReview(BusiDef busiDef);

    Map<String,String> queryReview(BusiDef busiDef);
}